package com.job.ZhangMeng.Homework0707.kszy;

public class Worker {
    public String name = "金乘五";
    int age=20;
    private double weight;

    public void show1(){
        System.out.println("show1");
    }
    void show2(){
        System.out.println("show2");
    }
    private void show3(){
        System.out.println("show3");
    }
    Worker(String name,int age,double weight){
        this.name=name;
        this.age=age;
        this.weight=weight;
    }
    private Worker(String name){
        this.name=name;
    }

    public static void main(String[] args) {
        Worker wker=new Worker("Lucy");
        wker.show3();
    }
}
